//
//  BillListModel.m
//  cm
//
//  Created by suyibaishan on 2017/11/6.
//  Copyright © 2017年 feihu. All rights reserved.
//

#import "BillListModel.h"

@implementation BillListModel

-(instancetype)initWithDictionary:(NSDictionary *)dictionary
{
    if (self = [super init])
    {
        self.time = dictionary[@"createTime"];
        self.name = dictionary[@"title"];
        self.status = [dictionary[@"status"] integerValue];
        self.price = [dictionary[@"amount"] floatValue];
    }
    return  self;
}

@end
